<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <style>
        * {
            padding: 0;
            margin: 0;
            font-size: 14px;
        }

        body {
            padding-left:20px;
            padding-right:20px;
        }

        h5 {
            position: relative;
            font-size: .28rem;
            color: #333333;
            font-weight: bold;
            margin-top: 0.6rem;
            margin-bottom: 0.4rem;
        }

        h5::after {
            content: "";
            position: absolute;
            left: -.4rem;
            top: 50%;
            transform: translateY(-50%);
            width: .12rem;
            height: .34rem;
            background: #1B88F0;
        }
        p{
            line-height: .56rem;
            font-size: .3rem;
            text-indent:2em;
        }
        span{
            font-size: 14px;
            text-indent:2em;
        }
    </style>
    <script>
        window.onload = function () {
            /*720代表设计师给的设计稿的宽度，你的设计稿是多少，就写多少;100代表换算比例，这里写100是
              为了以后好算,比如，你测量的一个宽度是100px,就可以写为1rem,以及1px=0.01rem等等*/
            getRem(720, 100)
        };
        window.onresize = function () {
            getRem(720, 100)
        };
        function getRem(pwidth, prem) {
            var html = document.getElementsByTagName("html")[0];
            var oWidth = document.body.clientWidth || document.documentElement.clientWidth;
            html.style.fontSize = oWidth / pwidth * prem + "px";
        }

        function insertData(content){
            document.getElementById('divId').innerHTML=content;
        }
    </script>



</head>

<body>
    <div id="divId">
    </div>
</body>

</html>